<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
		<link rel="stylesheet" type="text/css" href="css/plat.css" />
		<link rel="stylesheet" type="text/css" href="css/_common.css" />
	</head>

	<body>
		<div class="plat-web">
			<div class="music">
				<audio id="music" src="music/Valentin - A Little Story.mp3" loop="loop" autoplay></audio>
				<img id="musicImg" src="images/music5.png" "musicImg" class="yiny" />
			</div>
			<div class="plat-content">
				<div class="plat">
					<!--海南省地图-->
					<!--切换-->
					<!--<div id="loginBox" class="Guangdong_plat">
						<div class="Guangdong_plat_pic">
							<img src="images/1a1.png" />
							<div class="AlreadyReceived">
								<ul>
									<li class="son">
										<p>已领取<br /><span>10</span>份</p>
									</li>
									<li class="son1">
										<p>已领取<br /><span>10</span>份</p>
									</li>
									<li class="son2">
										<p>已领取<br /><span>10</span>份</p>
									</li>
								</ul>
							</div>
						</div>
					</div>-->
					<!--广东省地图-->
					<div id="loginBox1" class="Hainan_plat">
						<!--切换-->
						<div id="login1" class=" switchover">
							<div class="icon">
								<img src="images/sx.png" />
							</div>
							<span>广州</span>
						</div>
						<div class="Hainan_plat_pic">
							<img src="images/1a1.png" />
							<div class="AlreadyReceived">
								<ul>
									<li class="son">
										<a href="ExchangeCode.html"><p>已领取<br /><span>10</span>份</p></a>
									</li>
									<li class="son1">
										<a href="ExchangeCode.html"><p>已领取<br /><span>10</span>份</p></a>
									</li>
									<li class="son2">
										<a href="ExchangeCode.html"><p>已领取<br /><span>23</span>份</p></a>
									</li>
								</ul>
							</div>
						</div>
						<div class="Guangdong_plat_pic">
							<img src="images/1a2.png" />
							<div class="AlreadyReceived">
								<ul>
									<li class="son3">
										<a href="ExchangeCode.html"><p>已领取<br /><span>10</span>份</p></a>
									</li>
									<li class="son4">
										<a href="ExchangeCode.html"><p>已领取<br /><span>10</span>份</p></a>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<!--剩余套装-->
					<div class="Guangdong_text_CustomKreons">
						<h2>剩余<span>9998</span>套</h2>
						<h1>婚宴定制囍酒套装</h1>
						<h2>待领取</h2>
					</div>
				</div>

				<!--套装和领取-->
				<div class="Guangdong_text">
					<!--领取方式-->
					<div class="Guangdong_text_GetTheWay">
						<h3>领取方式：</h3>
						<p>符合领取条件的用户凭结婚证以及酒店婚宴预订单据，前往张裕白兰地线下兑换点（限广东省、湖南省区域可获赠婚宴定制囍酒套装一份，共9999份，数量有限，领完为止。</p>
						<h3>领取时间：</h3>
						<p>2016年9月9日——10月29日</p>
						<h3>领取条件：</h3>
						<p>于2016年1月1日后进行婚宴登记，并在2016年9月9日——10月29日举办婚宴的新人（限广东省、海南省区域）</p>
					</div>
				</div>
			</div>
			<footer class="footer">
				<div class="fenX">
					<a href="navigation.html">找到离我最近的领取点</a>
				</div>
					<div class="fanH"><a href="index.html"></a></div>				
			</footer>
		</div>
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/jquery.transit.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/utils.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/plat.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var shengY = $(".Guangdong_text_CustomKreons").find("span").text()
			var s = parseInt(shengY);
			var b = 1
			var ds = setInterval(function(){
				shengs = $(".Guangdong_text_CustomKreons").find("span").text(s-=b)
			},1000)
			var qieH = true;
			$(".switchover").on("click", function() {
				if(qieH) {
					nanH();
				} else {
					guangD();
				}
			})

			function nanH() {
				$(".Hainan_plat_pic").css("transform", "translateX(-100%)")
				$(".Guangdong_plat_pic").css("transform", "translateX(-100%)")
				$(".icon").css("transform", "rotateZ(180deg)")
				$(".switchover span").text("海南")
				$(".son3").transit({y:0})
				$(".son4").transit({y:0},700)
				$(".son2").transit({y:"-1000%"})
				$(".son1").transit({y:"-1000%"},700)
				$(".son").transit({y:"-1000%"},700)
				$(".Guangdong_text_CustomKreons").find("h1").css("display", "none")
				
				qieH = false;
			}

			function guangD() {
				$(".Hainan_plat_pic").css("transform", "translateX(0)")
				$(".Guangdong_plat_pic").css("transform", "translateX(100%)")
				$(".icon").css("transform", "rotateZ(0deg)")
				$(".switchover span").text("广州")
				$(".Guangdong_text_CustomKreons").find("h1").css("display", "block")
				$(".son2").transit({y:0})
				$(".son1").transit({y:0},700)
				$(".son").transit({y:0},700)
				$(".son3").transit({y:"-1000%"})
				$(".son4").transit({y:"-1000%"},700)
				qieH = true;
			}
			$(".music").on("click", function() {
				var audio = $("audio")[0];
				if(audio.paused) {
					audio.play() //暂停
				} else {
					audio.pause(); //播放
				}
			})
			var yiny = true;
			$(".music").on("click", function() {
				if(yiny) {
					$("#musicImg").css("animation-play-state", "paused");
					yiny = false;
				} else {
					$("#musicImg").css("animation-play-state", "inherit");
					yiny = true;
				}
			})
			
			$(document).ready(function() {
				$(".son2").transit({y:0})
				$(".son1").transit({y:0},700)
				$(".son").transit({y:0},700)
			})
		</script>
	</body>

</html>